package com.hejia.alauda.entity;

import javax.persistence.Column;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 
 * App版本信息
 * 
 *
 *
 * Created by showone on 2014 上午10:41:34.
 */

@JsonIgnoreProperties("ignoreLogic")
public class AppVersion extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(length = 10)
	private String type;// 类型

	@Column(length = 10)
	private String versionName;// 版本名字
	
	@Column(length = 10)
	private String version;// 版本

	@Column(length = 200)
	private String url;// 更新url

	@Column
	private String memo;// 更新说明

	@Column
	private String ignoreLogic;// 忽视逻辑

	private boolean ignored;// 是否可以忽视

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getVersionName() {
		return versionName;
	}

	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getIgnoreLogic() {
		return ignoreLogic;
	}

	public void setIgnoreLogic(String ignoreLogic) {
		this.ignoreLogic = ignoreLogic;
	}

	public boolean isIgnored() {
		return ignored;
	}

	public void setIgnored(boolean ignored) {
		this.ignored = ignored;
	}
}
